package com.xbongbong.saas.enums.base;

import lombok.Getter;

/** 合同订货单公用枚举
 * @author wujian
 * @version V1.0
 * @date 2020/12/26 20:00
 * @since V1.0
 */
@Getter
public enum ContractBaseEnum {
    BASE_INFO("other_1"),
    CONTRACT_NO("serialNo"),
    LINK_CUSTOMER("text_2"),
    LINK_CONTACT("text_3"),
    SIGN_PERSON("text_8"),
    SIGN_TIME("date_1"),
    DEADLINE("date_2"),
    STATUS("text_6"),
    OWNER_ID("ownerId"),
    MINOR_USER("coUserId"),
    SALE_INFO("other_2"),
    PRODUCT("array_4"),
    PRODUCT_TOTAL("num_26"),
    DISCOUNT_AMOUNT("num_28"),
    AMOUNT("num_1"),
    CONTRACT_COST("num_2"),
    GROSS_PROFIT("num_25"),
    GROSS_PROFIT_RATE("num_3"),
    CASH_PROFIT("num_4"),
    CASH_PROFIT_RATE("num_5"),
    ASSOCIATED_INFO("other_3"),
    ADD_WRITE_OFF_PREPAYMENT("button_1"),
    ADD_PAYMENT_SHEET("button_2"),
    ADD_PAYMENT("array_1"),
    EXTEND_INFO("other_4"),
    LINK_PARTNER_CUSTOMER("text_5"),
    TYPE("text_7"),
    PAY_METHOD("text_9"),
    EXPRESS_STATUS("text_10"),
    SHIP_STATUS("text_13"),
    SYSTEM_INFO("other_5"),
    CREATOR_ID("creatorId"),
    ADD_TIME("addTime"),
    UPDATE_TIME("updateTime"),
    FINISH_AMOUNT("num_6"),
    UN_FINISH_AMOUNT("num_7"),
    BAD_AMOUNT("num_31"),
    PAY_PERCENT("num_8"),
    INVOICE_AMOUNT("num_9"),
    UN_INVOICE_AMOUNT("num_10"),

    IF_STATISTIC("num_13"),
    CURRENCY("num_14"),
    EXCHANGE_RATE("num_15"),
    INSTOCK_ID("array_2"),
    OUTSTOCK_ID("array_3"),
    PURCHASE_ID("num_18"),
    ALL_OUT_BOUND("num_19"),
    IS_RED("num_20"),
    HAS_RED("num_21"),
    ESTIMATE_COST("num_22"),
    REAL_COST("num_23"),
    SHOW_PRODUCE("num_24"),
    LINK_CUSTOMER_HIDE("text_18"),
    LINK_CONTACT_HIDE("text_19"),
    LINK_OPPORTUNITY_HIDE("text_20"),
    LINK_PARTNER_CUSTOMER_HIDE("text_21"),
    ARCHIVED("num_11"),
    SIGN_NAME("text_22"),
    QUOTATION_ID("text_66"),
    QUOTATION_NAME("text_67"),
    DISCOUNT("num_38"),
    RECEIVABLE_PERIOD("text_81"),
    COUPON_ID("array_5"),

    // 已出库其他费用
    OUTSTOCK_OTHER_EXPENSE("num_61"),
    // 已出库优惠金额
    OUTSTOCK_DISCOUNT_AMOUNT("num_62"),
    ;
    private final String attr;

    ContractBaseEnum(String attr) {
        this.attr = attr;
    }
}
